package com.fsc.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * 学校信息
 * @TableName school_news
 */
@TableName(value ="school_news")
@Data
@Builder
public class SchoolNews implements Serializable {

    /**
     * 记录ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 学校ID
     */
    private Integer schoolId;

    /**
     * 信息
     */
    private String news;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
